﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BZZ_workLog.aspx.cs" Inherits="Web.myadmin.workLog" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>工作日志 - 后台管理 </title>
<link href="/css/bkcss.css" rel="stylesheet" type="text/css" />
<script src="/js/function.js" type="text/javascript"></script>
</head>
<body>
<div id="DivPromptMessage" runat="server">
    <asp:Literal ID="litPromptMessage" runat="server"></asp:Literal>
</div>
    <form id="form1" runat="server">
    
<div id="divQuery" runat="server">
     <table cellpadding="2" cellspacing="0" class="tblQuery">
	    <tr> 
		    <td class="tdQuery">
             <%--id：<asp:TextBox ID="txtQryId" runat="server"  CssClass="clsInput" ></asp:TextBox>
             分类：<asp:TextBox ID="txtQryCata" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             日期：<asp:TextBox ID="txtQryDt" runat="server"  CssClass="clsInput" ></asp:TextBox>
             <%--计划：<asp:TextBox ID="txtQryPlan" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--日志：<asp:TextBox ID="txtQryLog" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <%--评语：<asp:TextBox ID="txtQryComment" runat="server"  CssClass="clsInput" ></asp:TextBox>--%>
             <asp:Button ID="btnQuery"  CssClass="btnQuery" runat="server" Text=" 查询 "  OnClick="btnQuery_Click" />
		     </td>
	    </tr>
    </table>
</div>

<div id="divList" runat="server">
     <asp:Repeater runat="server" ID="rptInfoList">
        <HeaderTemplate>
           <table cellspacing="0" cellpadding="2" class="tblList" style="width:1024px">
             <tr> 
	              <td class="tdListTop">编号 </td>
	              <%--<td class="tdListTop">分类</td>--%>
	              <td class="tdListTop">日期</td>
	              <td class="tdListTop">计划</td>
	              <td class="tdListTop">日志</td>
	              <%--<td class="tdListTop">评语</td>--%>
	              <td class="tdListTop">操作</td>
             </tr>
          </HeaderTemplate>
          <ItemTemplate>
               <tr > 
	              <td class="tdList"><%# Eval("id") %></td>
	              <%--<td class="tdList"><%# Eval("cata")%></td>--%>
	              <td class="tdList"><%# Convert.ToDateTime(Eval("dt")).ToString("yyyy-MM-dd") %></td>
	              <td class="tdListLeft"><%# LIB.Filter.txt2Html(Eval("plan").ToString()) %></td>
	              <td  class="tdListLeft"><%# LIB.Filter.txt2Html(Eval("log").ToString()) %></td>
	              <%--<td  class="tdList"><%# Eval("comment")%></td>--%>
	              <td class="tdList">	
	                  <a href="?cmd=view&id=<%# Eval("id") %>" class="linkView" onclick="return openWin(this.href);">查看</a>&nbsp;
	                   <a href="?cmd=edit&id=<%# Eval("id") %>" class="linkEdit" onclick="return openWin(this.href);">修改</a>&nbsp;
	                   <%--<a href="?cmd=delete&id=<%# Eval("id") %>" onclick="return confirm('确定是要删除该记录吗？')" class="linkDelete">删除</a>--%>
	              </td>
                </tr>
        </ItemTemplate>
        <FooterTemplate>
           </table>
        </FooterTemplate>
    </asp:Repeater>
    <div class="divPager">
         <asp:Literal ID="litPager" runat="server" ></asp:Literal>
    </div>
        
</div>

<div runat="server" id="divForm">
<table cellpadding="2" cellspacing="0" class="tblForm">
	<tr> 
		<td colspan="2" class="tdFormHead">  <asp:Label ID="lblFormTitle" runat="server" Text="修改"></asp:Label></td>
	</tr>

	<tr> 
		<td class="tdFormLeft">日期：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtDt" runat="server"  CssClass="clsInput" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">计划：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtPlan" runat="server"  CssClass="clsInput" Height="213px" 
                TextMode="MultiLine" Width="602px" ></asp:TextBox></td>
	</tr>
	<tr> 
		<td class="tdFormLeft">日志：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtLog" runat="server"  CssClass="clsInput" 
                TextMode="MultiLine" Height="189px" Width="598px" ></asp:TextBox></td>
	</tr>
	<tr style="display:none" id="trComment"> 
		<td class="tdFormLeft">评语：</td>
		<td class="tdFormRight">  
            <asp:TextBox ID="txtComment" runat="server"  CssClass="clsInput" 
                TextMode="MultiLine" ></asp:TextBox></td>
	</tr>
	<tr > 
		<td colspan="2" align="center" style="font-size: 30px;">
         <asp:Button ID="btnSumit"  CssClass="btnSumit" runat="server" Text=" 发布 "  OnClick="btnSumit_Click" />
		<input class="btnCancel" type="reset" value=" 取消 " />
		<asp:TextBox ID="txtId" runat="server" style="display:none" Text="0"></asp:TextBox></td>
	</tr>
</table>
</div>

<div runat="server" id="divView">
<table cellpadding="2" cellspacing="0" class="tblView">
	<tr> 
		<td colspan="2" class="tdViewHead">  <asp:Label ID="lblViewTitle" runat="server" Text="查看"></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">分类：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblCata" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">日期：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblDt" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">计划：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblPlan" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">日志：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblLog" runat="server" ></asp:Label></td>
	</tr>
	<tr> 
		<td class="tdViewLeft">评语：</td>
		<td class="tdViewRight">  
            <asp:Label ID="lblComment" runat="server" ></asp:Label></td>
	</tr>
</table>
</div>
    
    </form>
</body>
</html>

